﻿//+------------------------------------------------------------------+
//|                                             MetaTrader 5 Web API |
//|                   Copyright 2001-2015, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+

namespace MetaQuotes.MT5WebAPI.Common
  {
  /// <summary>
  /// tick info
  /// </summary>
  public class MTTick
    {
    //--- symbol
    public string Symbol { get; set; }
    //---
    public ulong Digits { get; set; }
    //--- bid price
    public double Bid { get; set; }
    //--- ask price
    public double Ask { get; set; }
    //--- last price
    public double Last { get; set; }
    //--- volume
    public long Volume { get; set; }
    }
  /// <summary>
  /// tick info more
  /// </summary>
  public class MTTickStat
    {
    //--- symbol
    public string Symbol { get; set; }
    //--- bid
    public double Bid { get; set; }
    public double BidLow { get; set; }
    public double BidHigh { get; set; }
    public double BidDir { get; set; }
    //--- ask
    public double Ask { get; set; }
    public double AskLow { get; set; }
    public double AskHigh { get; set; }
    public double AskDir { get; set; }
    //--- last price
    public double Last { get; set; }
    public double LastLow { get; set; }
    public double LastHigh { get; set; }
    public double LastDir { get; set; }
    //--- volume
    public long Volume { get; set; }
    public long VolumeLow { get; set; }
    public long VolumeHigh { get; set; }
    public long VolumeDir { get; set; }
    //--- digits    
    public ulong Digits { get; set; }
    }
  }
